package cn.topcodes.tcsf.app.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Unicorn on 2017/7/26.
 */
@Data
@Table(name = "t_app_operate_log")
public class AppOperateLog extends IdEntity {

    /**
     * 用户登录
     */
    public static final String TYPE_LOGIN = "Login";

    /**
     * 用户登出
     */
    public static final String TYPE_LOGOUT = "Logout";

    private Long userId;

    private String type;

    private String content;

    private String ip;

}
